package com.bwie.mapper;

import com.bwie.common.pojo.po.OrderPo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface OrderMapper {
    /**
     * 查询商品ID
     * @param userId
     * @return
     */
    List<Integer> list(@Param("userId") Integer userId);

    List<OrderPo> orderList(@Param("goodsId") List<Integer> goodsId);
}
